package com.xbongbong.pro.domain.entity;

import com.xbongbong.paas.toolbox.util.DateTimeUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * tb_contract_compare_user
 * 
 * @author zsn
 */
@Getter
@Setter
@ToString
public class ContractCompareUserEntity implements Serializable {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 公司ID
     */
    private String corpid;

    /**
     * 用户名ID
     */
    private String userId;

    /**
     * 是否启用坐席, 1表示是, 0表示不是
     */
    private Integer staff;

    /**
     * 添加时间
     */
    private Long addTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 删除标记
     */
    private Integer del;

    private static final long serialVersionUID = 1L;

    public ContractCompareUserEntity() {
    }

    public ContractCompareUserEntity(String corpid, String userId, Integer staff) {
        this.corpid = corpid;
        this.userId = userId;
        this.staff = staff;
        this.addTime = DateTimeUtil.getInt();
        this.updateTime = DateTimeUtil.getInt();
        this.del = 0;
    }
}